package com.ds.lens.data.vo.in.v2.application;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * Description:
 *
 * @author WeiShaoying
 * @date 2019-11-07
 */
@Data
public class LensApplicationUserRelationInVO implements Serializable {
    private static final long serialVersionUID = 379260457367455600L;

    @NotNull(message = "applicationId can not be null.")
    private Long applicationId;
    @NotEmpty(message = "userName can not be empty.")
    private String userName;
    @NotNull(message = "application role can not be null.")
    private Integer applicationRole;
    private Integer userType;
}
